/**
 * Copyright (c) 2018-2028, Chill Zhuang 庄骞 (smallchill@163.com).
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.springblade.modules.policy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import org.springblade.core.mp.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 实体类
 *
 * @author Blade
 * @since 2022-07-29
 */
@Data
@TableName("blade_mat_matter")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "MatMatter对象", description = "MatMatter对象")
public class MatMatter extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
  	private Integer id;
    /**
     * 受理编号
     */
    @ApiModelProperty(value = "受理编号")
    private String handleNum;
	/**
	 * 事项id
	 */
	@ApiModelProperty(value = "事项id")
	private Integer matterId;
    /**
     * 事项名称
     */
    @ApiModelProperty(value = "事项名称")
    private String matterName;
	/**
	 * 提交单位
	 */
	@ApiModelProperty(value = "提交单位")
	private String handingDept;
	/**
	 * 提交单位id
	 */
	@ApiModelProperty(value = "提交单位id")
	@JsonSerialize(using = ToStringSerializer.class)
	private Long handingDeptId;
    /**
     * 本次办件总金额
     */
    @ApiModelProperty(value = "本次办件总金额")
    private BigDecimal appliedCashAmount;
    /**
     * 办结时间
     */
	@DateTimeFormat(
		pattern = "yyyy-MM-dd HH:mm:ss"
	)
	@JsonFormat(
		pattern = "yyyy-MM-dd HH:mm:ss"
	)
    @ApiModelProperty(value = "办结时间")
    private LocalDateTime finishTime;
    /**
     * 审批状态
     */
    @ApiModelProperty(value = "审批状态")
    private String handleStatus;
    /**
     * 对公银行账号
     */
    @ApiModelProperty(value = "对公银行账号")
    private String bankCode;
    /**
     * 开户行
     */
    @ApiModelProperty(value = "开户行")
    private String bankName;
    /**
     * 企业名称
     */
    @ApiModelProperty(value = "企业名称")
    private String enterpriseName;
    /**
     * 统一社会信用代码
     */
    @ApiModelProperty(value = "统一社会信用代码")
    private String enterpriseCode;

	private String linkMan;
	private String linkPhone;
	private String linkEmail;
	private String metail;
	private String remark;
	private String doStateName;
}
